package com.hd.platform.server.api.log;


import org.slf4j.Logger;

/**
 * 全局日志工厂
 */
public class LoggerFactory {

	private static final String SERVER_INFO = "serverInfo";
	private static final String SERVER_ERROR = "serverError";
	private static final String API_INVOKE="apiInvoke";

	public static Logger getServerInfoLogger(Class<?> clazz) {
		return org.slf4j.LoggerFactory.getLogger(SERVER_INFO);
	}

	public static Logger getServerErrorLogger(Class<?> clazz) {
		return org.slf4j.LoggerFactory.getLogger(SERVER_ERROR);
	}
	public static Logger getApiInvokeLogger(Class<?> clazz){
		return org.slf4j.LoggerFactory.getLogger(API_INVOKE);
	}


}
